<template>
  <div class="shop">
      这是商品页面 {{shopId}}
  </div>
</template>

<script>
export default {
    name:'shop',
    data(){
        return{
            shopId:''
        }
    },
    mounted(){
        this.shopId = this.$route.params.id
    }
}
</script>

<style>

</style>